//
//  TSCMyNaviBarCreator.h
//  Tsc_IOS
//
//  Created by Rio on 15-9-5.
//  Copyright (c) 2015年 idream. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^BIconClickedListener)(UIButton *);

@interface TSCMyNaviBarCreator : NSObject

@property (nonatomic, strong) UIViewController * viewController;
@property (nonatomic, assign) BOOL hasGoBackButton;
@property (nonatomic, strong) UIViewController * goBackVC; // 如果不指定，默认回退按钮仅回退一层；如果指定，则回退到指定的vc
@property (nonatomic, assign) BOOL hasAppLogo;
@property (nonatomic, copy) NSString * titleResourceKey;
@property (nonatomic, strong) NSArray * iconResourceNameArray;
@property (nonatomic, strong) NSArray * iconClickedListenerArray;

- (TSCMyNaviBarCreator *) initAndCreateWithViewController:(UIViewController *)vc hasGoBackButton:(BOOL)hasGoBackButton goBackVC:(UIViewController *) goBackVC hasAppLogo:(BOOL)hasAppLogo titleResourceKey:(NSString *)titleResourceKey iconResourceNameArray:(NSArray *)iconResourceNameArray iconClickedListenerArray:(NSArray *)iconClickedListenerArray;
- (TSCMyNaviBarCreator *) initWithViewController:(UIViewController *)vc hasGoBackButton:(BOOL)hasGoBackButton goBackVC:(UIViewController *) goBackVC hasAppLogo:(BOOL)hasAppLogo titleResourceKey:(NSString *)titleResourceKey iconResourceNameArray:(NSArray *)iconResourceNameArray iconClickedListenerArray:(NSArray *)iconClickedListenerArray;
- (void) createNaviBar;

@end
